package com.clw.repository;

import com.clw.dataobject.Produce;
import com.clw.dataobject.Return;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by Administrator on 2018-03-08.
 */
public interface ReturnRepository extends JpaRepository<Return,Integer>{
    Page<Return> findAll(Specification<Return> spec, Pageable pageable);

    Long count(Specification<Return> spec);
}
